package cn.wzy.service;


import cn.wzy.pojo.Employee;
import cn.wzy.results.ResponseResult;
import cn.wzy.vo.EmpRoleVo;
import cn.wzy.vo.GoPageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * (Employee)表服务接口
 *
 * @author makejava
 * @since 2022-12-08 13:53:14
 */
public interface EmployeeService extends IService<Employee> {


    ResponseResult employeePage(GoPageVo goPageVo);

    ResponseResult saveEmp(Employee employee);

    ResponseResult delEmp(Long id);

    ResponseResult download(String fileName, HttpServletResponse response);

    ResponseResult delEmpList(List<Long> ids);

    ResponseResult getAllEmp();


    ResponseResult saveEmpRole(EmpRoleVo empRoleVo);

    ResponseResult getEmpRoleSns(Long id);

    ResponseResult getEmpByToken(HttpServletRequest request);
}
